import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import About from '../views/About.vue'
import Help from '../views/Help.vue'
import Lnvestigation from '../views/Lnvestigation.vue'
import SendLog from '../views/SendLog.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    component: Home
  },
  {
    path: '/sendLog',
    component: SendLog
  },
  {
    path: '/investigation',
    component: Lnvestigation
  },
  {
    path: '/about',
    component: About
  },
  {
    path: '/help',
    component: Help
  }
]

const router = new VueRouter({
  routes
})

export default router
